﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace StaticFilesSample.Infrastructure
{
    public class BlogService
        : IBlogService
    {
        public Task<Blog> GetBlogByIdAsync(int id)
        {
            var blog = new Blog()
            {
                Id = 1,
                Name = Guid.NewGuid().ToString("N")
            };
            return Task.FromResult(blog);
        }
    }
}
